package com.wtwd.device.service;


import com.wtwd.device.model.entity.AppUserTarget;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zdl
 * @since 2021-09-03
 */
public interface AppUserTargetService {
    /**
     *  通过用户ID获取用户
     * @param userId
     * @return
     */
    AppUserTarget getByUserId(Long userId);

    /**
     * 保存用户目标
     * @param appUserTarget
     * @return
     */
    boolean save(AppUserTarget appUserTarget);

    boolean deleteByUserId(Long userId);


}
